﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 项目楼号表
    /// </summary>
    [Table("PB_Buildingnumber")]
    public partial class PB_Buildingnumber
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 楼号
        /// </summary>
        public String Buildingnumber { get; set; }
        /// <summary>
        /// 计划进场时间
        /// </summary>
        public DateTime PlanTime { get; set; }

        /// <summary>
        /// 料台数量
        /// </summary>
        public Int32? LiftPlatNums { get; set; }
        /// <summary>
        /// 机位数量
        /// </summary>
        public Int32? StandsNumber { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Memo { get; set; }
        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
         
        /// <summary>
        /// 延米
        /// </summary>
        public Double? LinearMeter { get; set; }

        /// <summary>
        /// 单层面积
        /// </summary>
        public Double? FloorArea { get; set; }

        /// <summary>
        /// 起始层
        /// </summary>
        public Int32? StartingLayer { get; set; }


        /// <summary>
        /// 终止层
        /// </summary>
        public Int32? TerminationLayer { get; set; }
        /// <summary>
        /// 正在施工楼层
        /// </summary>
        public Int32? UnderConstruction { get; set; }

        /// <summary>
        /// 技术负责人
        /// </summary>
        public string TechnicalDirector { get; set; }
        /// <summary>
        /// 项目主管
        /// </summary>
        public string ProjectDirector { get; set; }
        /// <summary>
        /// 协作者list
        /// </summary>
        public string Collaborators { get; set; }

        /// <summary>
        /// 是否巡检(0-否；1-是)
        /// </summary>
        public Boolean? IsInspection { get; set; }

    }

    public class PB_BuildingnumberTiper
    {
        /// <summary>
        /// 楼号
        /// </summary>
        public List<string> Build { get; set; }
        /// <summary>
        /// 设备id
        /// </summary>
        public string DeviceId { get; set; }
        /// <summary>
        /// 推送消息
        /// </summary>
        public string Message { get; set; }
        public String ReceiveDept { get; set; }

    }

}